#ifndef DBPORT_H
#define DBPORT_H

#include "CPPLib.h"
#include "DBWire.h"

namespace DB
{
	class Wire;

	class Port
	{
	public:
		enum Direction{UNSET = 0, IN = 1, OUT = 2};

		std::string const &getName()const;
	private:
		std::string m_name;
		Direction m_direction;
		Wire const *m_wire;
	};
}
#endif
